package model

import "gorm.io/gorm"

type Videos struct {
	gorm.Model
	UserId uint   `gorm:"column:user_id;type:bigint(20);not null; index:ip_idx" json:"user_id" `
	Name   string `gorm:"column:name;type:varchar(255);not null;" json:"name"`
	Like   uint   `gorm:"column:like;type:bigint(20);not null;" json:"like"`
	People int64  `gorm:"column:people;type:bigint(20);not null;" json:"people"`
	Gift   int64  `gorm:"column:gift;type:bigint(20);not null;" json:"gift"`
	Img    string `gorm:"column:img;type:varchar(255);not null;" json:"img"`
}
